﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	x:Class="LFractal.LFractalMainWindow"
	x:Name="Window"
	Title="LFractalMainWindow"
	Width="450" Height="550"
	WindowStyle="None"
  ResizeMode="NoResize"
  ShowInTaskbar="True"
  AllowsTransparency="True" 
	MouseLeftButtonDown="Window_MouseLeftButtonDown" mc:Ignorable="d"  
	>
	<Border BorderBrush="Gray"           
            BorderThickness="0,0,2,2"
            CornerRadius="10"
            Background="#FFE8ECF4">
      <!-- Create space between shadow and the next border -->
      <Border BorderBrush="Transparent"
              BorderThickness="5"
              CornerRadius="10" Margin="0,0,0,0">
        <!-- The inner border -->
        <Border BorderBrush="Black"
                BorderThickness="1.5"
                CornerRadius="10">
	<Grid x:Name="LayoutRoot">
            <Grid.RowDefinitions>
                <RowDefinition Height="*" />
                <RowDefinition Height="30"  />
            </Grid.RowDefinitions>
                    <Button Name="btnClose" FontWeight="Bold" Content="Close" Width="50" Height="25" Grid.Row="1"
                            Margin="10,1,20,1" HorizontalAlignment="Right" ToolTip="Close this application" Click="btnClose_Click">
                        <Button.Background>
                            <LinearGradientBrush EndPoint="0,1" StartPoint="0,0">
                                <GradientStop Color="#FFF3F3F3" Offset="0"/>
                                <GradientStop Color="#FFEBEBEB" Offset="0.5"/>
                                <GradientStop Color="#FFDDDDDD" Offset="0.5"/>
                                <GradientStop Color="#FFD3929C" Offset="1"/>
                            </LinearGradientBrush>
                        </Button.Background>

                    </Button>
                    <TabControl Margin="5" Grid.Row="0">
			<TabItem>
				<TabItem.Header>
					<StackPanel Orientation="Horizontal">
			            <Image Height="50" Source="Images/myWork.jpg" />
			            <TextBlock Text="My Work" Margin="2,0,0,0" VerticalAlignment="Center" />
		          </StackPanel>
				</TabItem.Header>
				<Grid Background="White">
				<Grid.RowDefinitions>
					<RowDefinition Height="100" />
					<RowDefinition Height="*" />
				</Grid.RowDefinitions>
				<ToolBar Grid.Row="0" BandIndex="1" Band="1">
					<Button  Name="btnAddEntity" HorizontalAlignment="Left" ToolTip="Click to create a Lsystem of your own" Click="btnAddEntity_Click">
						<Image  Source="Images/AddSign.jpg" Width="96" Height="68" />
					</Button>  
					<Button  Name="btnDeleteEntity" HorizontalAlignment="Left" ToolTip="Delete selected items" Click="btnDeleteEntity_Click">
						<Image  Source="Images/DeleteButton.jpg" Width="96" Height="68" />
					</Button> 
					<Button  Name="btnEdit" HorizontalAlignment="Left" ToolTip="Local Samples" Click="btnEdit_Click">
						<Image  Source="Images/EditButton.jpg" Width="96" Height="68" />
					</Button> 
				</ToolBar>
			
				<ListView Name="listOfMyWork" Grid.Row="1" MouseDoubleClick="listOfMyWork_MouseDoubleClick">
                                    <ListView.View>
                                        <GridView>
                                            <GridViewColumn Header="Name" Width="200">
                                                <GridViewColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Label Content="{Binding Path=Name}" Width="200" />
                                                    </DataTemplate>
                                                </GridViewColumn.CellTemplate>
                                            </GridViewColumn>
                                            <GridViewColumn Header="Created On" Width="200">
                                                <GridViewColumn.CellTemplate>
                                                    <DataTemplate>
                                                        <Label Content="{Binding Path=CreationTime}" Width="200" />
                                                    </DataTemplate>
                                                </GridViewColumn.CellTemplate>
                                            </GridViewColumn>
                                        </GridView>
                                    </ListView.View>
                                </ListView>
			</Grid>
			</TabItem>
			<TabItem ToolTip="Online Works">
				<TabItem.Header>
				<StackPanel Orientation="Horizontal">
			            <Image Height="50" Source="Images/onlineWork.jpg" />
			            <TextBlock Text="Community" Margin="2,0,0,0" VerticalAlignment="Center" />
		          </StackPanel>
				  </TabItem.Header>
				  <Grid>
				  	<Grid.RowDefinitions>
						<RowDefinition Height="50" />
						<RowDefinition Height="*" />
					</Grid.RowDefinitions>
					<ToolBar Grid.Row="0">
						<Button  Name="btnRefresh" HorizontalAlignment="Left" ToolTip="Refresh">
							<Image  Source="Images/RefreshButton.jpg"  />
						</Button>  
						<Separator />
						<TextBox ToolTip="Search" Width="300" Height="40" VerticalAlignment="Center" FontSize="30" BorderBrush="LightBlue" BorderThickness="1" />
					</ToolBar>
				  </Grid>
			</TabItem>
			<TabItem ToolTip="Settings">
				<TabItem.Header>
				<StackPanel Orientation="Horizontal">
			            <Image Height="50" Source="Images/SettingsButton.jpg" />
			            <TextBlock Text="Settings" Margin="2,0,0,0" VerticalAlignment="Center" />
		          </StackPanel>
				  </TabItem.Header>
				  <Grid>
				  	<Grid.RowDefinitions>
						<RowDefinition />
					</Grid.RowDefinitions>
					<GroupBox Grid.Row="0">
						<GroupBox.Header>Renderer</GroupBox.Header>
					</GroupBox>
					<StackPanel Orientation="Horizontal">
						
					</StackPanel>
				  </Grid>
			</TabItem>
		</TabControl>
	</Grid>
	</Border>
	</Border>
	</Border>
</Window>